package com.xianyu.us.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.xianyu.us.pojo.entity.UsMsgs;

/**
 * 封装留言表持久层实体类
 * @author wangshili
 * 
 */
@Mapper
public interface UsMsgsDao {
	
	/**
	 * 根据商品id查询留言表
	 * @param goodsId
	 * @return
	 */
	@Select("select * from us_msgs where goods_id=#{goodsId}")
	UsMsgs selectUsMsgByGoodsId(Integer goodsId);
}
